package com.czk.model.strategy.spring.strategy.impl;

import com.czk.model.strategy.spring.common.Order;
import com.czk.model.strategy.spring.common.PaymentResult;
import com.czk.model.strategy.spring.strategy.Strategy;
import org.springframework.stereotype.Service;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/5/19 16:59
 */
@Service
public class UnionPay implements Strategy {
    @Override
    public PaymentResult pay(Order order) {
        System.out.println("使用银联云闪付");
        return new PaymentResult("使用银联云闪付");
    }
}
